package J_exercise;

public class Q39_Phone {
	
	private String maker;
	private int price;
	private String commtype;
	
	
	public Q39_Phone() {}
	public Q39_Phone(String maker,int price,String commtype) {
	this.commtype=commtype;this.maker=maker;this.price=price;}
	public void setMaker(String maker){this.maker=maker;}
	public void setPrice(int  price){this.price=price;}
	public void setCommtype(String commtype){this.commtype=commtype;}
	
	public String getMaker(){return maker;}
	public int  getPrice(){return price;}
	public String getCommtype(){return commtype;}
	

}
